package designMode.actionMode.strategy;

/**
 * Created by Administrator on 2018/4/14.
 */
public class StrategyTest {

    public static void main(String[] args) {
        ICalculator cal = new Plus();
        int result = cal.calculate("2+8");
        System.out.println(result);
    }
}
